/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.meibang.task.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.apestar.common.persistence.Page;
import cn.apestar.common.service.CrudService;
import cn.apestar.modules.meibang.task.dao.TaskDao;
import cn.apestar.modules.meibang.task.entity.Task;

/**
 * taskService
 * @author task
 * @version 2017-06-19
 */
@Service
@Transactional(readOnly = true)
public class TaskService extends CrudService<TaskDao, Task> {

    @Override
    public Task get(String id) {
        return super.get(id);
    }

    @Override
    public List<Task> findList(Task task) {
        return super.findList(task);
    }

    @Override
    public Page<Task> findPage(Page<Task> page, Task task) {
        return super.findPage(page, task);
    }

    @Override
    @Transactional(readOnly = false)
    public void save(Task task) {
        super.save(task);
    }

    @Override
    @Transactional(readOnly = false)
    public void delete(Task task) {
        super.delete(task);
    }

}